//
//  JaneHomeListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 张静. All rights reserved.
//

#import "JaneHomeListCell.h"

@interface JaneHomeListCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@property (weak, nonatomic) IBOutlet UIImageView *coverimgView;

@end
@implementation JaneHomeListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(JaneHomeListModel *)model {
    if (_model != model) {
        _model = model;
    }
}
- (void)layoutSubviews {
    self.titleLabel.text = self.model.title;
    self.contentLabel.text = self.model.content;
    [self.coverimgView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
